<?php
namespace core\lib;
class provider{

    // 注册服务
    public static function register(container $container){
        $container->bind('app\model\UserInterface', 'app\model\UserMysql');
        // ...
    }
}